<%-- 
    Document   : index
    Created on : 06-nov-2012, 15:20:51
    Author     : Josue
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        <script src="http://java.com/js/deployJava.js"></script>
        <script>
            var attributes = {
                code:       "p3as.cliente.Principal",
                archive:    "P3AS-Cliente.jar",
                width:      300,
                height:     300
            };
            var parameters = {jnlp_href:"launch.jnlp"}; <!-- Applet Parameters -->
            var version = "1.7"; <!-- Required Java Version -->
            deployJava.runApplet(attributes, parameters, version);
        </script>
    </body>
</html>
